﻿<?php
$head = APP_PATH.'app/views/head.html';
require_once($head);
?>
<body>
    <?=$this->tag->form(['Node/crtnode','id'=>'crt_node'])?>
        <p>
            <label class="notnull">姓名</label>
            <?=$form->render("pers_id")?>
            <?=$form->render("datamode")?>
            <?=$form->render("name")?>            
        </p>
        <p>
            <label>字辈</label>
            <?=$form->render("zibei_no")?>
            <?=$form->render("zibei")?>
            <?=$form->render("gen_no")?>
        </p>
        <p>
            <label class="notnull">性别</label>
            <?=$form->render("sex")?>
        </p>
        <p>
            <label>生日</label>
            <?=$form->render("birth_date")?>
        </p>
        <p>
            <label>其父</label>
            <?=$form->render("father_helper")?>
            <?=$form->render("father")?>
        </p>
        <p>
            <label>其母</label>
            <?=$form->render("mother_helper")?>
            <?=$form->render("mother")?>
        </p>
        <p>
            <label>忌日</label>
            <?=$form->render("end_date")?>
        </p>
        <p>
            <label class="notnull">简介</label>
            <br>
            <?=$form->render('desc')?>
        </p>
        <p>
            <?=$this->tag->submitButton("提交") ?>
            <br>
            <span id="form_tip"></span>
	    </p>
    </form>
    <div class="select_node">
        <p class="selectnode_helper">
            <label>搜索</label>
            <input type="text" id="search" placeholder="姓名搜索"><a href="JavaScript:Te.pageTo('1')">重置</a>
        </p>
        <div id="select_node">
            <?=$selectNode?>
        </div>
    </div>
</body>
</html>